/*
 * EventHooke.java
 * 
 * Created on May 26, 2007, 3:12:11 PM
 * 
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package asruby.runtime {

/**
 *
 * @author headius
 */
public class EventHook {
    public static const RUBY_EVENT_LINE: int =  0;
    public static const RUBY_EVENT_CLASS: int =  1;
    public static const RUBY_EVENT_END: int =  2;
    public static const RUBY_EVENT_CALL: int =  3;
    public static const RUBY_EVENT_RETURN: int =  4;
    public static const RUBY_EVENT_C_CALL: int =  5;
    public static const RUBY_EVENT_C_RETURN: int =  6;
    public static const RUBY_EVENT_RAISE: int =  7;
    
    public static const EVENT_NAMES: Array =  ["line", "class", "end", "call", "return", "c-call", "c-return", "raise"];
    
    public function event(context:ThreadContext, event:int,  file:String,  line:int,  name:String,  type:IRubyObject) {
    	
    }
    
    public function isInterestedInEvent( event:int):Boolean {
    	return false;
    }
}
}